cmake_minimum_required(VERSION 3.15)
project(MarsRover)

set(CMAKE_CXX_STANDARD 14)

set(GTEST_HOME /Users/chencheng/googletest)

link_directories(${GTEST_HOME}/build/lib)
link_libraries(gtest)

include_directories(${GTEST_HOME}/googletest/include)
include_directories(./src)
include_directories(./test)

aux_source_directory(./src SOURCE_FILES)
aux_source_directory(./test SOURCE_FILES_TEST)

add_executable(MarsRover ${SOURCE_FILES} ${SOURCE_FILES_TEST} main.cpp)